package org.jeecg.modules.policy.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 政策信息
 * @Author: jeecg-boot
 * @Date:   2024-07-10
 * @Version: V1.0
 */
@Data
@TableName("gw_policy")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="gw_policy对象", description="政策信息")
public class GwPolicy implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**政策名称*/
	@Excel(name = "政策名称", width = 15)
    @ApiModelProperty(value = "政策名称")
    private String policyName;
	/**政策文件pdf路径*/
	@Excel(name = "政策文件pdf路径", width = 15)
    @ApiModelProperty(value = "政策文件pdf路径")
    private String policyPdf;
	/**政策标签*/
	@Excel(name = "政策标签", width = 15, dictTable = "gw_policy_tag", dicText = "tag", dicCode = "id")
	@Dict(dictTable = "gw_policy_tag", dicText = "tag", dicCode = "id")
    @ApiModelProperty(value = "政策标签")
    private String policyTag;
	/**政策描述*/
	@Excel(name = "政策描述", width = 15)
    @ApiModelProperty(value = "政策描述")
    private String policyDescription;
	/**政策链接*/
	@Excel(name = "政策链接", width = 15)
    @ApiModelProperty(value = "政策链接")
    private String policyLink;
	/**备用字段1*/
	@Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String attribute1;
	/**备用字段2*/
	@Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String attribute2;

    /**发布日期*/
    @Excel(name = "发布日期", width = 15)
    @ApiModelProperty(value = "发布日期")
    private String publishDate;

    /**政策城市*/
    @Excel(name = "政策城市", width = 15)
    @ApiModelProperty(value = "政策城市")
    private String policyPublishCity;
}
